import os
import pytest

if __name__ == '__main__':
    # pytest.main(["-vs --alluredir=./results/json --clean-alluredir -m "demo or smoke""])
    pytest.main() #使用pytest.ini配置
    os.system("allure generate ./results/json -o ./results/report_html --clean")

#